package com.zhicheng.backend.controller;

import com.zhicheng.backend.common.Result;
import com.zhicheng.backend.service.impl.BarServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能:
 * 作者:YukiSu
 * 日期:2024/11/7 21:46
 */
@RestController
@RequestMapping("/bar")
public class BarController {
    @Autowired
    BarServiceImpl barService;

    @GetMapping("/test")
    public Result testAPI() {
        return Result.success("测试成功");
    }
}